<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>登录页22001011032刘晓妍</title>
    <link rel="stylesheet" href="css/login.css" />
  </head>
  <body>
    <header>
      <h2>Professional Recruitment</h2>
    </header>
    <div class="container">
      <div class="content">
        <h1>海量优质人才，在线约面</h1>
        <p>找工作上boss直聘直接谈</p>
      </div>
      <div class="login-form">
        <div class="form-header">
          <h3>用户登录</h3>
        </div>
        <div class="button-group">
          <button class="active" id="findJob">我要找工作</button>
          <button id="hire">我要招人</button>
        </div>
        <div id="registrationForm">
          <div class="form-group">
            <input type="text" id="phone" placeholder="请输入账号" required />
          </div>
          <div class="form-group">
            <input
              type="password"
              id="verificationCode"
              placeholder="请输入密码"
              required />
          </div>
          <a id="submitBtn" class="submit-btn" onclick="goToPage('./index.html')">
            注册/登录
          </a>
        </div>

        <!-- 复选框，用户同意协议和隐私政策 -->
        <div class="terms">
          <input type="checkbox" id="terms" required />
          <label for="terms">
            已阅读并同意BOSS直聘《用户协议》《隐私政策》，允许BOSS直聘统一管理本人账号信息
          </label>
        </div>

        <!-- 错误信息显示区域 -->
        <span id="error-message" style="color: red; display: none"></span>
      </div>
    </div>
    <script src="js/login.js"></script>
  </body>
</html>
